﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace iLangl.Transport.Communication
{
	public class BaseActionManager : BaseManager, IActionManager
	{

		Hashtable actions;
		public BaseActionManager()
		{
			actions = new Hashtable();
		}


		#region IActionManager Members

		public void RegisterAction(IAction action)
		{
			actions[action.Id] = action;
		}

		

		public IAction FindAction(string actionId)
		{
			return (IAction)actions[actionId];
		}

		#endregion
	}
}
